package nanzhuli.user.svc;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.PropertySource;
import tk.mybatis.spring.annotation.MapperScan;

@MapperScan(basePackages = "nanzhuli.user.svc.mapper")
@PropertySource("classpath:param.properties")
@SpringBootApplication
@Slf4j
public class UserSvcApplication implements CommandLineRunner {

    public static void main(String[] args) {
        SpringApplication.run(UserSvcApplication.class, args);
    }

    @Override
    public void run(String... args) throws Exception {
        log.info("【用户中心】服务启动完成!");
    }

}
